<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改英雄</title>
</head>
<body>
<h1>修改英雄信息</h1>
<form method="post" action="/modify">
    <input name="id" th:value="${hero.id}" style="display:none;">
    <label>
        <span>英雄名称</span>
        <input name="name" type="text" th:value="${hero.name}"><br/>
    </label>
    <label>
        <span>英雄类型</span>
        <input name="type" type="text" th:value="${hero.type}"><br/>
    </label>
    <label>
        <span>英雄价格</span>
        <input name="price" type="number" th:value="${hero.price}"><br/>
    </label>
    <button type="submit">修改</button>
</form>
</body>
</html>